import { baseRequest } from "@/utils/request";
const request = (url, ...arg) =>
  baseRequest(`/admin/v1/template/${url}`, ...arg);

export default {
  // 获取人员分页
  queryPage(data) {
    return request("queryPage", data);
  },
  save(data) {
    return request("save", data);
  },
  delete(data) {
    return request("delete", data);
  },
  queryList(data) {
    return request("list", data);
  },
  queryEditPermission(data) {
    return request("queryEditPermission", data);
  },
  totalStandardPage(data) {
    return request("queryTotalStandardPage", data);
  },
  deleteTotalStandard(data) {
    return request("deleteTotalStandard", data);
  },
  saveTotalStandard(data) {
    return request("saveTotalStandard", data);
  },
};
